<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
         pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
        <title>Bootstrap Form With Spring Mvc Example</title>
        <link type="text/css" href="<%=request.getContextPath()%>/resources/css/bootstrap.css" rel="stylesheet"/>
    </head>
    <body>
        <div class="container-fluid">
            <p> If you are not registered - do it now! </p>
            <p></p>
            <p> ${message}</p>
            
            <form class="form-horizontal" method="post" action='register.htm' name="registerForm" id="registerForm">
                 <div class="control-group">
                    <label class="control-label">Full name</label>
                    <div class="controls">
                        <input type="text" name="fullname" id="fullname" title="Fullname" value="">
                    </div>
                </div>
                
                <div class="control-group">
                    <label class="control-label">Email</label>
                    <div class="controls">
                        <input type="text" name="email" id="email" title="Email" value="">
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label">Password</label>
                    <div class="controls">
                        <input type="password" name="password" id="lastName" title="Password" value="">
                    </div>
                </div>
                
                <div class="control-group">
                    <label class="control-label">City</label>
                    <div class="controls">
                        <input type="text" name="city" id="city" title="City" value="Rotterdam" readonly="readonly" >
                    </div>
                </div>
                
                 <div class="control-group">
                    <label class="control-label">Street</label>
                    <div class="controls">
                        <input type="text" name="street" id="street" title="Street" value="">
                    </div>
                </div>
                
                 <div class="control-group">
                    <label class="control-label">House number</label>
                    <div class="controls">
                        <input type="text" name="num" id="num" title="Number" value="">
                    </div>
                </div>
                
                 <div class="control-group">
                    <label class="control-label">Zip</label>
                    <div class="controls">
                        <input type="text" name="zip" id="zip" title="ZIP" value="">
                    </div>
                </div>               

                <div class="form-actions">
                    <button type="submit" class="btn btn-success">Register</button>            
                </div>
            </form>

        </div>		
    </body>
</html>